﻿<pataintrecord:SubviewBase xmlns:src="clr-namespace:NuiDicomPlayer.Subviews"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:pataintrecord="clr-namespace:NuiDicomPlayer.Subviews" 
               xmlns:Elements="clr-namespace:NuiDicomPlayer.Controls.Elements"
                           x:Class="NuiDicomPlayer.Subviews.PataintRecordWindow" 
               mc:Ignorable="d" 
                                   d:DesignWidth="1440" d:DesignHeight="800" Background="Wheat"
            >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="131*"/>
            <RowDefinition Height="269*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="69*"/>
            <ColumnDefinition Width="56*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Orientation="Horizontal">
            
            <Label  Content="Patient Name" HorizontalAlignment="Left" Margin="19,10,0,0" VerticalAlignment="Top" Width="229" Height="52" FontSize="32"/>
            <Label x:Name="txtPName"   Content="_______________________________________________________________________" HorizontalAlignment="Left" Margin="19,10,0,0" VerticalAlignment="Top" Width="523" Height="52" FontSize="32"/>
        </StackPanel>
        <Label x:Name="txtheight" Content="Label" HorizontalAlignment="Left" Margin="75,137,0,0" VerticalAlignment="Top" Grid.Column="1" Height="26" Width="38"/>
        <Label x:Name="txtdepth" Content="Label" HorizontalAlignment="Left" Margin="244,199,0,0" VerticalAlignment="Top" Grid.Column="1" Height="26" Width="38" RenderTransformOrigin="0.395,0.5"/>
        <Label x:Name="txtwidth" Content="Label" HorizontalAlignment="Left" Margin="149,227,0,0" VerticalAlignment="Top" Grid.Column="1" Height="26" Width="38" RenderTransformOrigin="0.632,0.385"/>
        <Canvas Margin="45,41,207,202" Grid.Column="1">
            <Rectangle Fill="#FFF4F4F5" Height="100" Canvas.Left="63" Stroke="Black" Canvas.Top="80" Width="100"/>
            <Rectangle Fill="#FFF4F4F5" Height="100" Canvas.Left="163" Stroke="Black" Canvas.Top="102" Width="49" RenderTransformOrigin="0.5,0.5">
                <Rectangle.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleY="-47.67"/>
                        <RotateTransform/>
                        <TranslateTransform Y="-49.402"/>
                    </TransformGroup>
                </Rectangle.RenderTransform>
            </Rectangle>
            <Rectangle Fill="#FFF4F4F5" Height="53" Stroke="Black" Canvas.Top="27" Width="100" RenderTransformOrigin="0.5,0.5" Canvas.Left="43">
                <Rectangle.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <SkewTransform AngleX="-41.424"/>
                        <RotateTransform/>
                        <TranslateTransform X="44.118"/>
                    </TransformGroup>
                </Rectangle.RenderTransform>
            </Rectangle>
           

        </Canvas>
        <Elements:NuiButton x:Name="quitBtn" EnterdBkg="Gray" ExitedBkg="Transparent" OnHandFiredEvent="quitBtn_OnHandFiredEvent_1" Padding="2,5,2,5" Margin="0,10,10,0" Grid.Column="1" HorizontalAlignment="Right" Width="241" Height="215" VerticalAlignment="Top">
            <Image Source="../Icon Images/262.png" Width="128"/>
        </Elements:NuiButton>
        <StackPanel Margin="10,67,10,10">
            <StackPanel Orientation="Horizontal">
             <Label  Content="Dicom Directory:" HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="198" FontSize="24"/>   
            <Label x:Name="filepath"  Content="__________________________________________________________________" HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="491" FontSize="24"/>
                
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Age:" HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="200" FontSize="24"/>
            <Label x:Name="txtAge"  Content="0" HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="277" FontSize="24"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Gender:"  HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="193" FontSize="24"/>
            <Label x:Name="txtGender"  Content="Male"  HorizontalAlignment="Left" Margin="31,0,0,0" VerticalAlignment="Top" Width="277" FontSize="24"/>
            </StackPanel>
        </StackPanel>
        <StackPanel Grid.Column="1" HorizontalAlignment="Left" Height="395" Margin="10,71,0,0" VerticalAlignment="Top" Width="625" Background="White" Grid.Row="1">
            <StackPanel Orientation="Horizontal">
                <Label Content="Origenal Color Level:"/>
                <Label x:Name="org_color_level_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Origenal Color Window:"/>
                <Label x:Name="org_color_window_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Image Postion:"/>
                <Label x:Name="imapgepos_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Image Orientation:"/>
                <Label x:Name="imapgeor_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Image TransfearSyntaxID:"/>
                <Label x:Name="tsid_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="RecaleSlop:"/>
                <Label x:Name="RecaleSlop_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="RecsliceOffset:"/>
                <Label x:Name="RecsliceOffset_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="PataintId:"/>
                <Label x:Name="PataintId_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="StudyUID:"/>
                <Label x:Name="StudyUID_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="StudyID:"/>
                <Label x:Name="StudyID_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="GantryAngle:"/>
                <Label x:Name="GantryAngle_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Spceing Values:"/>
                <Label x:Name="spaceing_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <Label Content="Center Values:"/>
                <Label x:Name="center_txt" Content="xxxxxxxxxxxx"/>
            </StackPanel>

        </StackPanel>
        <Label Content="Remarks" HorizontalAlignment="Left" Margin="10,10,0,0" Grid.Row="1" VerticalAlignment="Top" Height="56" Width="295" FontSize="32"/>
        <TextBox HorizontalAlignment="Left" Height="395" Margin="10,71,0,0" Grid.Row="1" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="766"/>



    </Grid>
</pataintrecord:SubviewBase>
